package com.tencent.service.impl;/**
 * @Author King
 * @Date 2022/8/30 16:10
 * @Version 1.0.0
 */

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.tencent.entity.SetMeal;
import com.tencent.mapper.SetmealMapper;
import com.tencent.service.SetmealService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @program: health2.2
 *
 * @description:
 *
 * @author: king
 *
 * @create: 2022-08-30 16:10
 **/
@Service
//@Transactional
public class SetmealServicelmpl extends ServiceImpl<SetmealMapper,SetMeal> implements SetmealService {
    @Autowired
    private SetmealMapper setmealMapper;
    @Override
    public SetMeal findById(Integer id) {
        return setmealMapper.findById(id);
    }
//    @Override
//    public List<SetMeal> findAll() {
//        System.out.println("dddddddddddddd");
//        return null;
//    }

//    @Autowired(required = false)
//    private SetmealMapper setmealMapper;

//    @Override
//    public List<SetMeal> findAll() {
////        System.out.println("123123");
//    }
}
